<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_code" class="form-control" name="row[order_code]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Warehousing_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-warehousing_code" class="form-control" name="row[warehousing_code]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[order_date]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Warehousing_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-warehousing_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[warehousing_date]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Factory_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-factory_code" class="form-control" name="row[factory_code]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Factory_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-factory_name" class="form-control" name="row[factory_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Row_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-row_id" data-rule="required" data-source="row/index" class="form-control selectpage" name="row[row_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Inventory_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-inventory_id" data-rule="required" data-source="inventory/index" class="form-control selectpage" name="row[inventory_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Quantity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-quantity" class="form-control" name="row[quantity]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Warehousing_quantity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-warehousing_quantity" class="form-control" name="row[warehousing_quantity]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('No_quantity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-no_quantity" class="form-control" name="row[no_quantity]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Warehouse_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-warehouse_id" data-rule="required" data-source="warehouse/index" class="form-control selectpage" name="row[warehouse_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shelves_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shelves_id" data-rule="required" data-source="shelves/index" class="form-control selectpage" name="row[shelves_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remark" class="form-control " rows="5" name="row[remark]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
